package com.simple.piger.service;


import com.baomidou.mybatisplus.service.IService;
import com.simple.piger.dto.req.InviteCompanyReqDto;
import com.simple.piger.dto.resp.company.InviteCompanyRespDto;
import com.simple.piger.entity.InviteCompany;

import java.util.List;

/**
 * <p>
 * 公司表 服务类
 * </p>
 *
 * @author baolw
 * @since 2020-02-06
 */
public interface InviteCompanyService extends IService<InviteCompany> {

    List<InviteCompanyRespDto> list(Integer page, Integer limit, String companyName);

    int count(String companyName);

    void saveOrUpdate(InviteCompanyReqDto reqDto);
}
